Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633434 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/86 - Weight Conversion Tool

Assets/ cody/swapnilsparsh/30DaysOfJavaScript/86 - Weight Conversion Tool/Assets/
1 Items
  • Assets.png
  • app.js cody/swapnilsparsh/30DaysOfJavaScript/86 - Weight Conversion Tool/app.js
    169 Views
    0 Comments
    const form = document.querySelector('form');


    //add an event listener to the form

    form.addEventListener('submit', function(e){
    e.preventDefault();
    const input = document.querySelector('input');
    html cody/swapnilsparsh/30DaysOfJavaScript/86 - Weight Conversion Tool/html
    327 Views
    0 Comments
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="styles.css">
    <title>Weight Converstion Tool</title>
    style.css cody/swapnilsparsh/30DaysOfJavaScript/86 - Weight Conversion Tool/style.css
    72 Views
    0 Comments
    form {
    background-color: rgb(241, 9, 144);
    color: white;
    width: 500px;
    height: 300px;
    margin: 100px auto 100px;
    padding: 25px;
    }
    index.html cody/swapnilsparsh/30DaysOfJavaScript/86 - Weight Conversion Tool/index.html
    311 Views
    0 Comments
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="style 30.css">
    <title>Weight Converstion Tool</title>